<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xSite Administrator's Control Panel</title>
<link rel="stylesheet" href="./php.net.cn/xsite/admin/images/admincp.css" type="text/css" media="all" />
<meta content="xSite Inc." name="Copyright" />
</head>
<body>
<div id="append"></div>
<script type="text/javascript">
	function headermenu(ctrl) {
		ctrl.className = ctrl.className == 'otherson' ? 'othersoff' : 'otherson';
		var menu = document.getElementById('header_menu_body');
		if(!menu) {
			menu = document.createElement('div');
			menu.id = 'header_menu_body';
			menu.innerHTML = '<ul>' + document.getElementById('header_menu_menu').innerHTML + '</ul>';
			var obj = ctrl;
			var x = ctrl.offsetLeft;
			var y = ctrl.offsetTop;
			while((obj = obj.offsetParent) != null) {
				x += obj.offsetLeft;
				y += obj.offsetTop;
			}
			menu.style.left = x + 'px';
			menu.style.top = y + ctrl.offsetHeight + 'px';
			menu.className = 'togglemenu';
			menu.style.display = '';
			document.body.appendChild(menu);
		} else {
			menu.style.display = menu.style.display == 'none' ? '' : 'none';
		}
	}
	
</script>


<div class="container">
  
	<h3 class="marginbot">		
    	<a class="sgbtn" href="xsite.php?action=attachments&operation=list<?php if(!empty($parent_attachments_dir)){?>&dir=<?=rawurlencode($parent_attachments_dir)?><?php }?>"><span>上级目录</span></a>
      	<a class="sgbtn" href="xsite.php?action=attachments&operation=list<?php if(!empty($attachments_dir)){?>&dir=<?=rawurlencode($attachments_dir)?><?php }?>"><span>附件列表</span></a>
	  	<a class="sgbtn" href="xsite.php?action=attachments&operation=upload<?php if(!empty($attachments_dir)){?>&dir=<?=rawurlencode($attachments_dir)?><?php }?>"><span>上传附件</span></a>
	  	<a class="sgbtn" href="xsite.php?action=attachments&operation=mkdir<?php if(!empty($attachments_dir)){?>&dir=<?=rawurlencode($attachments_dir)?><?php }?>"><span>创建目录</span></a>
	</h3>
	
  <div class="note fixwidthdec">
    <p class="i">这里是附件内容列表。</p>
  </div>
  
  <div class="mainbox">
	  
		<form action="xsite.php?action=attachments&operation=upload<?php if(!empty($attachments_dir)){?>&dir=<?=rawurlencode($attachments_dir)?><?php }?>" method="post" enctype="multipart/form-data" name="uploadfile" id="uploadfile">

		<table class="inputlist">
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>文件：
				  </td>
				<td><label>
				<input name="uploadfile[]" class='uploadbtn marginbot' type="file">
				</label></td>
			  </tr>
			  <tr>
				<td>&nbsp;</td>
				<td><label>
				  <input name="dosubmit" type="submit" class="btn"  id="dosubmit" value=" 点击上传 ">
				</label></td>
			  </tr>
		  </table>
		</form>

      <div class="margintop"></div>
    
  </div>
</div>

</body>
</html>
